/*
    Copyright (C) 2021 Huawei Device Co., Ltd.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 */

package agency.tango.materialintroscreen.interceptor;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;


/**
 * @ProjectName: material-intro-screen-master
 * @Package: agency.tango.materialintroscreen.interceptor
 * @ClassName: BaseInterpolator
 * @Description: An abstract class which is extended by default interpolators.
 * and then accelerates.
 * @CreateDate: 2021/4/12 16:18
 * @UpdateDate: 2021/4/12 16:18
 * @UpdateRemark: 暂无
 * @Version: 1.0
 */

public abstract class BaseInterpolator implements Interpolator {
    private @Config
    int mChangingConfiguration;

    /**
     * 获取Configuration
     *
     * @return Configuration
     */
    public @Config
    int getChangingConfiguration() {
        return mChangingConfiguration;
    }

    /**
     * 设置Configuration
     *
     * @param changingConfiguration Configuration值
     */
    void setChangingConfiguration(@Config int changingConfiguration) {
        mChangingConfiguration = changingConfiguration;
    }

    @Retention(RetentionPolicy.SOURCE)
    public @interface Config {
    }
}

